تعرف ايه اللى بيحصل من وراك فى الـ JavaScript لما بتكتب كود زي ده؟
var str = "hello"; str = str.substring(0, 2);
الـ str هنا عبارة عن primitive type مش المفروض يبقى فيه properties او functions. الـ JavaScript بتاخد الـ str وتعمل منه String Object وتنفذ ال substring وتاخد النتيجة على جنب وتمسح ال Object اللى اتعمل وتعمل من النتيجة value جديدة لـ str.
وتعرف ان الـ int فى الـ C# عبارة عن primitive type برضه لكنه فى الأصل struct. علشان كدة ممكن تلاقى فيه function زي ToString مثلاً عادي.
وتعرف ان الـ variables فى لغة زي Rust هى immutable بالفطرة ولو عايزن تبقى mutable لازم تحدد ده بنفسك.
تعرف ان الـ string فى C# يعتبر immutable لكن الـ StringBuilder يعتبر mutable وان ال string فى الـ javascript برضه immutable لكنه فى لغة زي الـ PHP بيبقى mutable.
على الرغم من انك مش مطالب تعرف كل لغة بتتعامل مع الداتا ازاى لكنك مطالب بحاجتين 1- تعرف لغتك كويس بتعمل ايه من جوه 2- ماتفترضش ان اللى بيحصل فى لغتك بيحصل فى باقى اللغات (حتى لو فى تشابه كبير)
تعرف ايه اللى بيحصل من وراك فى الـ JavaScript لما بتكتب كود زي ده؟
var str = "hello"; str = str.substring(0, 2);
الـ str هنا عبارة عن primitive type مش المفروض يبقى فيه properties او functions. الـ JavaScript بتاخد الـ str وتعمل منه String Object وتنفذ ال substring وتاخد النتيجة على جنب وتمسح ال Object اللى اتعمل وتعمل من النتيجة value جديدة لـ str.
وتعرف ان الـ int فى الـ C# عبارة عن primitive type برضه لكنه فى الأصل struct. علشان كدة ممكن تلاقى فيه function زي ToString مثلاً عادي.
وتعرف ان الـ variables فى لغة زي Rust هى immutable بالفطرة ولو عايزن تبقى mutable لازم تحدد ده بنفسك.
تعرف ان الـ string فى C# يعتبر immutable لكن الـ StringBuilder يعتبر mutable وان ال string فى الـ javascript برضه immutable لكنه فى لغة زي الـ PHP بيبقى mutable.
على الرغم من انك مش مطالب تعرف كل لغة بتتعامل مع الداتا ازاى لكنك مطالب بحاجتين 1- تعرف لغتك كويس بتعمل ايه من جوه 2- ماتفترضش ان اللى بيحصل فى لغتك بيحصل فى باقى اللغات (حتى لو فى تشابه كبير)
منقول
BY Web Development Code
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
The lead from Wall Street offers little clarity as the major averages opened lower on Friday and then bounced back and forth across the unchanged line, finally finishing mixed and little changed.The Dow added 33.18 points or 0.10 percent to finish at 34,798.00, while the NASDAQ eased 4.54 points or 0.03 percent to close at 15,047.70 and the S&P 500 rose 6.50 points or 0.15 percent to end at 4,455.48. For the week, the Dow rose 0.6 percent, the NASDAQ added 0.1 percent and the S&P gained 0.5 percent.The lackluster performance on Wall Street came on uncertainty about the outlook for the markets following recent volatility.
The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.